package com.faithbj.process;

/**
 * User: xiongyuanwei
 * Date: 12-6-17
 * Time: 下午5:33
 */
public enum State {

    NEW_ARRIVAL(1L, "业务受理"),
    COMPLETION(2L, "信息录入"),
    VERIFICATION(3L, "信息核实", "对应街镇核实"),
    EXPORT(4L, "信息导出"),
    IMPORT(5L, "信息导入"),
    SEND_AND_RECEIVE_FOR_COMPARISON(6L, "比对信息发送接收"),
    COMPARISON(7L, "准入标准核实比对"),
    COMPARISON_DONE(8L, "准入标准已核实"),
    FIRST_CHECK(9L, "比对审核", "对应一次审核"),
    FIRST_CHECK_MODIFICATION(10L, "修改核定值"),
    CHECK_TABLE_GENERATED(11L, "生成核对表"),
    DIFF_TABLE_GENERATED(12L, "生成差异表"),
    SECOND_CHECK(13L, "抽查", "对应二次审核"),
    REPORT(14L, "生成核对报告"),
    INTERRUPTED(15L, "中止核对"),
    TERMINATED(16L, "流程正常结束"),
    CANCELLED(17L, "自愿退出申请"),
    KILLED(18L, "强制结束流程");

    private Long id;
    private String name;
    private String description;

    private State(Long id, String name) {
        this.id = id;
        this.name = name;
        this.description = name;
    }

    private State(Long id, String name, String description) {
        this.id = id;
        this.name = name;
        this.description = description;
    }

    public Long getId() {
        return id;
    }

    public String getName() {
        return name;
    }

    public String getDescription() {
        return description;
    }
}
